package com.hqu.mapper;

import com.hqu.entity.Course;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface CourseMapper {

    List<Course> queryAllCourses();//查询所有可选课程

    Course queryCourseById(int id);
}
